package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 骑手信息对象 t_rider
 * 
 * @author ruoyi
 * @date 2024-02-04
 */
public class TRider extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 骑手姓名 */
    @Excel(name = "骑手姓名")
    private String name;

    /** 骑手手机号 */
    @Excel(name = "骑手手机号")
    private String phoneNumber;

    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }

    public void setName(String name)
    {
        this.name = name;
    }
    public String getName() 
    {
        return name;
    }

    public void setPhoneNumber(String phoneNumber)
    {
        this.phoneNumber = phoneNumber;
    }
    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getId())
            .append("name", getName())
            .append("phoneNumber", getPhoneNumber())
            .append("createTime", getCreateTime())
            .toString();
    }
}
